import service from '@/utils/request'

// 哪个目录下
const WHERE = '/admin'

// 用户登录
export function loginApi(loginForm) {
  return service({
    method: 'post',
    url: `${WHERE}/login`,
    data: loginForm
  })
}
